package com.keshihao.cmsservice.service;

import com.keshihao.cmsservice.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author keshihao
 * @since 2020-06-15
 */
public interface CrmBannerService extends IService<CrmBanner> {

  List<CrmBanner> selectAllBanner();

  // 新增Banner
  void saveBanner(CrmBanner banner);
  // 更新Banner
  void updateBannerById(CrmBanner banner);
  // 删除Banner
  void removeBannerById(String id);
}
